package com.far.game.xiuzhen.gm.web.api.admin;


import cn.hutool.json.JSONUtil;
import com.far.game.xiuzhen.common.database.entity.DictCharProp;

import com.far.game.xiuzhen.gm.web.BaseController;
import com.far.game.xiuzhen.service.IDictCharPropService;
import com.far.tools.net.http.transfer.ResultData;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author mike
 * @since 2022-07-15
 */
@RestController
@RequestMapping(value = "/api/admin/user/tools")
public class ToolsController extends BaseController {




    @GetMapping(value = "conver-json")
    public ResultData<String> converJson() {
        DictCharProp dictCharProp = new DictCharProp();
        dictCharProp.setPropName("1212");
        String str = JSONUtil.toJsonStr(dictCharProp);

        return ResultData.ok(str);
    }








}

